import '../assets/font/index'
import '../assets/font/ojjingjian.min.js'
import App from './App.vue'
import router from './router'
import store from '../index/store'
import ElementPlus from 'element-plus'
import '../assets/icon.js'
import '../assets/css/index.css'
import 'element-plus/dist/index.css'
import 'dayjs/locale/zh-cn'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import { Storekey } from '../interface'
import { createApp } from 'vue'
import '../components/userWorker'
import 'highlight.js/styles/default.css'
import highlight from 'highlight.js'
highlight.highlightAll()
const app = createApp(App)
app.provide('chat', 'mydata')
app.provide('title', '数据监控平台')
app.provide('icon', 'https://cdn-hterobot.oss-cn-qingdao.aliyuncs.com/JOY/CloudClassroom/logo_whtite.svg')
app.provide('png', 'https://cdn-hterobot.oss-cn-qingdao.aliyuncs.com/JOY/huilongguandongxuequ/logo_huilongguandongxuequ.svg')

app.use(ElementPlus, { locale: zhCn, size: 'large' })
app.use(store, Storekey)
app.use(router)
app.mount('#app')
